package profile.hujia.log.analysis;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.util.StopWatch;

@SpringBootApplication
@Slf4j
@EnableScheduling
public class LogAnalysisApplication {

    public static void main(String[] args) {
        StopWatch watch=new StopWatch();
        watch.start();
        log.info("program begin");
        SpringApplication.run(LogAnalysisApplication.class, args);
        log.info("program end");
        watch.stop();
        log.info(watch.prettyPrint());
    }

}

